import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//element
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import axios from './api/http'
import loginaxios from './api/http'
// import axios from 'axios'
import '../public/style/btn.css'

const app = createApp(App)
app.config.globalProperties.$axios = axios
app.config.globalProperties.$axios2 = loginaxios
// app.config.globalProperties.$axiosOrigi = axios
app.use(router).use(store).use(ElementPlus, {locale: zhCn,})


app.mount('#app')
